﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace DongRuanMachineWebService.XmlMapper
{
    public class HIS_ATM_14600Body : CommonBody
    {
        [XmlElement("deptName")]
        public string DeptName { get; set; }
        [XmlElement("inday")]
        public string Inday { get; set; }
        [XmlElement("bedNo")]
        public string BedNo { get; set; }
        [XmlElement("medicalId")]
        public string MedicalId { get; set; }
        [XmlElement("prepayAmount")]
        public string PrepayAmount { get; set; }
        [XmlElement("prepayUsed")]
        public string PrepayUsed { get; set; }
        [XmlElement("prepayRemain")]
        public string PrepayRemain { get; set; }
        [XmlArray("items"), XmlArrayItem("item")]
        public List<HIS_ATM_14600Attr> Items { get; set; }
    }

    public class HIS_ATM_14600Attr
    {
        [XmlAttribute("feeDate")]
        public string FeeDate { get; set; }
        [XmlAttribute("itemName")]
        public string ItemName { get; set; }
        [XmlAttribute("itemNum")]
        public string ItemNum { get; set; }
        [XmlAttribute("itemPrice")]
        public string ItemPrice { get; set; }
        [XmlAttribute("itemUnit")]
        public string ItemUnit { get; set; }
        [XmlAttribute("itemAmount")]
        public string ItemAmount { get; set; }
    }
}